<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>

<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>添加转接表</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!-- 图文混排 -->
		<!-- 设置下拉列表框样式 -->
		<style type="text/css">
.select * {
	margin: 0;
	padding: 0;
}

.select {
	border: 1px solid #cccccc;
	float: left;
	display: inline;
}

.select div {
	border: 1px solid #f9f9f9;
	float: left;
}

/* 子选择器，在FF等非IE浏览器中识别 */
.select>div {
	width: 120px;
	height: 17px;
	overflow: hidden;
}

/* 通配选择符，只在IE浏览器中识别 */
* html .select div select {
	display: block;
	float: left;
	margin: -2px;
}

.select div>select {
	display: block;
	width: 124px;
	float: none;
	margin: -2px;
	padding: 0px;
}

.select:hover {
	border: 1px solid #666666;
}

.select select>option {
	text-indent: 2px;
}
html,body {height:100%; margin:0px; font-size:12px;}
.mydiv {
background-color: #FFCC66;
border: 1px solid #f00;
text-align: left;
line-height: 40px;
font-size: 12px;
font-weight: bold;
z-index:999;
width: 500px;
height: 300px;
left:50%;
top:50%;
margin-left:-150px!important;/*FF IE7 该值为本身宽的一半 */
margin-top:-60px!important;/*FF IE7 该值为本身高的一半*/
margin-top:0px;
position:fixed!important;/* FF IE7*/
position:absolute;/*IE6*/
_top:       expression(eval(document.compatMode &&
            document.compatMode=='CSS1Compat') ?
            documentElement.scrollTop + (document.documentElement.clientHeight-this.offsetHeight)/2 :/*IE6*/
            document.body.scrollTop + (document.body.clientHeight - this.clientHeight)/2);/*IE5 IE5.5*/
 
}
 
.bg,.popIframe {
background-color: #666; display:none;
width: 100%;
height: 100%;
left:0;
top:0;/*FF IE7*/
filter:alpha(opacity=50);/*IE*/
opacity:0.5;/*FF*/
z-index:1;
position:fixed!important;/*FF IE7*/
position:absolute;/*IE6*/
_top:       expression(eval(document.compatMode &&
            document.compatMode=='CSS1Compat') ?
            documentElement.scrollTop + (document.documentElement.clientHeight-this.offsetHeight)/2 :/*IE6*/
            document.body.scrollTop + (document.body.clientHeight - this.clientHeight)/2);
}
.popIframe {
filter:alpha(opacity=0);/*IE*/
opacity:0;/*FF*/
}
-->

</style>
		<link rel="stylesheet" type="text/css" href="../css/style.css">
		<link href="../css/addChance.css" rel="stylesheet" type="text/css">
		<!-- 设置按钮样式 -->
		<link href="../css/Admin.css" rel="stylesheet" type="text/css">
		<!-- 设置文本框样式 -->

		<script type="text/javascript">
	
</script>
<link href="../images/blue/css.css" rel="stylesheet" type="text/css" id="showdialogcss" />
<script type="text/javascript">



function check(){
var prono=document.getElementById('project.prono');
var unitName=document.getElementById('enParty.unitName');
var unitName=document.getElementById('enParty.reportTitle');
}


</script>
<s:head theme="ajax" />  
	</head>

	<body>
		<s:form method="post" 
			action="doAddProjectAction.action" theme="simple">
			<div align="center">
				<h1>
				广州京诚检测技术有限公司<br/>
样品检测信息转接表

				</h1>
			</div>


			<table align="center" width="780px" border="1" cellpadding="0"
				cellspacing="0" bgcolor="#C0CCDD" id="content">
				<tr>
				<td><span class="red" id="dictType">*</span>项目编号：
				</td>
				<td colspan="3"><s:textfield  name="project.prono" id="project.prono"
							cssStyle="width:80%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" /></td>
				</tr>

				<tr>
					<td rowspan="3">
						样品信息
					</td>
					<td colspan="2">
						<span class="red" id="dictType">*</span>样品名称：
						<s:textfield  name="sample.sampleName"
							cssStyle="width:80%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
					</td>
					<td>
						<span class="red" id="dictType">*</span>样品数量：<s:select name="sample.sampleNumber" list="#{'1':'1','2':'2','3':'3','4':'4','5':'5','6':'6'}"></s:select>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						&nbsp;颜色状态：
						<s:textfield  name="sample.sampleFrom"
							cssStyle="width:10%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />色&nbsp;&nbsp;&nbsp;
							<input type="radio" name="sample.storeType" value="粉末 " id="粉末"><label for="粉末">粉末</label>  <input type="radio" name="sample.storeType" value="颗粒" id="颗粒"><label for="颗粒">颗粒</label>  <input type="radio" name="sample.storeType" value="液体" id="液体"><label for="液体">液体</label>
							
					</td>
					<td>
						&nbsp;包装情况：
						<input type="radio" name="sample.storeType" value="良好 " id="良好"><label for="良好">良好</label>  <input type="radio" name="sample.storeType" value="已开封" id="已开封"><label for="已开封">已开封</label>  <input type="radio" name="sample.storeType" value="散装" id="散装"><label for="散装">散装</label>
					</td>
				</tr>
				<tr>
					<td colspan="3">
						&nbsp;存放要求：<input type="radio" name="sample.storeType" value="室温 " id="室温"><label for="室温">室温</label>  <input type="radio" name="sample.storeType" value="冷藏" id="冷藏"><label for="冷藏">冷藏</label>  <input type="radio" name="sample.storeType" value="冷冻" id="冷冻"><label for="冷冻">冷冻</label> <input type="radio" name="sample.storeType" value="避光" id="避光"><label for="避光">避光</label>  <input type="radio" name="sample.storeType" id="其他"><label for="其他">其他</label>：
					</td>
				</tr>
				<tr>
					<td rowspan="2">
						委托内容
					</td>
					<td>
						<span class="red" id="dictType">*</span>检验项目：
						<div id="testItemContent"></div>
					</td>
					<td colspan="2">
						<span class="red" id="dictType">*</span>检验依据：
						<s:textfield  name="project.testBase"
							cssStyle="width:60%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
					</td>
					</tr>
					<tr>
					<td colspan="3">
						备注
						&nbsp;<s:textfield  name="project.remark"
							cssStyle="width:80%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
					</td>
				</tr>
				<tr>
					<td >
						报告
					</td>
					<td colspan="3">
						&nbsp;交付日期&nbsp;&nbsp;<s:datetimepicker name="project.deliveryDate" displayFormat="yyyy-MM-dd"></s:datetimepicker>
					</td>
				</tr>
				<tr>
				<td> 备注
					</td>
					<td colspan="3">
						&nbsp;<s:textfield  name="project.remark"
							cssStyle="width:80%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
					</td>
				</tr>
				
				<tr>
					<td colspan="2">
						<span class="red" id="dictType">*</span>接样员签字：
						<s:textfield  name="project.principal"
							cssStyle="width:50%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" /><br>
							<div align="right">
							<s:datetimepicker name="project.PrincipalDate" displayFormat="yyyy-MM-dd"></s:datetimepicker>
							</div>
							
					</td>
					<td colspan="2">
						<span class="red" id="dictType">*</span>实验室主任签字：
						<s:textfield  name="project.acceptancePerson"
							cssStyle="width:50%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
							<div align="right">
							<s:datetimepicker name="project.acceptanceDate" displayFormat="yyyy-MM-dd"></s:datetimepicker>
							</div>
					</td>
				</tr>
			</table>
			<div align="center">
					<s:submit cssStyle="width:100px" value="提交"></s:submit > <s:reset cssStyle="width:100px" value="重置"></s:reset>
			</div>
			
		</s:form>
	</body>
</html>
